<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/11/26/026
 * Time: 19:41
 */

namespace App\Services\shop;


use App\Models\shop\City;

class CityService
{
    public function getCate():array
    {
        return array_pluck(City::select('id','name')->get()->toArray(), 'name','id');
    }
}